package com.zyh.scs.admin.service.jd;


import com.zyh.scs.admin.api.bo.JDCashierDto;
import com.zyh.scs.admin.api.bo.JDCashierOrderPayDto;
import com.zyh.scs.admin.base.open.LaoSheResponse;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/**
 * 京东锦礼-收银台 服务类
 */
public interface JDCashierService {

	/**
	 * 接收下单通知（跳转商户收银台）
	 *
	 * @param dto
	 * @param request
	 * @param response
	 *
	 * @return
	 */
	LaoSheResponse<String> cashier(JDCashierDto dto, HttpServletRequest request, HttpServletResponse response);

	/**
	 * 收银台-立即支付
	 *
	 * @param dto
	 * @param request
	 * @param response
	 *
	 * @return
	 */
	LaoSheResponse pay(JDCashierOrderPayDto dto, HttpServletRequest request, HttpServletResponse response);

}